package com.jingdianjichi.subject.convert;

import com.jingdianjichi.subject.entity.SubjectAnswerBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 董代恒
 * @version 1.0
 */
@Mapper
public interface RadioSubjectConvert {

    RadioSubjectConvert INSTANCE = Mappers.getMapper(RadioSubjectConvert.class);


    SubjectRadio optionListToSubjectRadio(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> convertEntityToBoList(List<SubjectRadio> subjectRadioList);
}
